@charset "utf-8";
@import url('//fonts.googleapis.com/earlyaccess/hanna.css');
body {
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
	margin: 20px;
	background-color: #f4f4f9;
	padding: 0;
	margin: 0;
	letter-spacing: -1px;
}
table {
	width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}
th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #dddddd;
}
th {
	background-color: #224b78;
    color: white;
}
tr:nth-child(even) {
	background-color: #f2f2f2;
}
a{
	display: block;
}
img{
	max-width: 100%;
	max-height: 100%;
}

.wrapper{
	width: 92.5%;
	margin: 0 auto;
}

#header{
	background-color: #fff;
	width: 100%;
	height: 80px;
	position: fixed;
	top: 0; left: 0;
	z-index: 909090909090;
}

#header .wrapper{
	display: flex;
	height: 100%;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

#header .logo{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 7px;
	margin: 0;
}

#header .logo figure{
	display: block;
	width: 45px;
	margin: 0;
}

#header .logo figure img{
	width: 100%;
	transform: translateY(2px);
}
#header .logo span{
	font-weight: 400;
	font-size: 20px;
	font-family: 'Hanna', sans-serif;
	letter-spacing: 0;
}

#header .logo strong{
	font-weight: 600;
	font-size: 27px;
	font-family: inherit;
}

#header .btn-contact{
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
	background-color: #FEE500;
	padding: 12px 30px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 16px;
	color: #191919;
	font-weight: 600;
}

#header .btn-contact i{
	font-size: 25px;
	opacity: 0.9;
}

#header .btn-contact span{
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

#header .btn-contact span em{
	font-style: normal;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

#sec01{
	padding: 130px 0 30px;
}
#sec01 .sort-button {
    margin-left: 10px;
    background-color: #ffffff;
    border: 1px solid #35424a;
    color: #35424a;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}
        
#sec01 .status-available {
	background-color: #d4edda; /* 구매가능 (연두색) */
    color: #155724; /* 텍스트 색상 (어두운 녹색) */
}

#sec01 .status-sold {
	background-color: #f8d7da; /* 판매완료 (연분홍색) */
    color: #721c24; /* 텍스트 색상 (어두운 빨간색) */
}

#sec01 .status-reserved {
    background-color: #fff3cd; /* 예약중 (연노란색) */
    color: #856404; /* 텍스트 색상 (어두운 노란색) */
}

#sec01 .status{
	margin-left: 5px;
	font-size:	12px;
	display: inline-block;
	padding: 2px 6px;
	border-radius: 5px;
	font-weight: 500;
	letter-spacing: -0.4px;
}

#sec01 table tr th:last-child,
#sec01 table td:last-child{
	text-align: center;
}

#sec01 table .btn-buy{
	display: inline-block;
	text-decoration: none;
	background-color: #f58410;
	color: #fff;
	padding: 7px 12px;
	border-radius: 5px;
	font-size: 15px;
	letter-spacing: -0.3px;
	font-weight: 500;
}

#sec01 .btn-write{
	display: inline-block;
	text-decoration: none;
	background-color: red;
	color: #fff;
	padding: 7px 12px;
	border-radius: 5px;
	font-size: 15px;
	letter-spacing: -0.3px;
	font-weight: 500;
}

#sec01 .btn-update{
	display: inline-block;
	text-decoration: none;
	background-color: blue;
	color: #fff;
	padding: 7px 12px;
	border-radius: 5px;
	font-size: 15px;
	letter-spacing: -0.3px;
	font-weight: 500;
}

.btn-update {
    display: inline-block;
    text-decoration: none;
    background-color: green;
    color: #fff;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 15px;
    letter-spacing: -0.3px;
    font-weight: 500;
    border: none;
}

.btn-delete{
	display: inline-block;
	text-decoration: none;
	background-color: red;
	color: #fff;
	padding: 7px 12px;
	border-radius: 5px;
	font-size: 15px;
	letter-spacing: -0.3px;
	font-weight: 500;
    border: none;

}
#footer{
	padding: 20px 0;
}

#footer p{
	text-align: center;
	font-size: 14px;
	color: #959595;
}


#sec01 .wrapper_nakdo{

	display:flex;
	padding-bottom:30px;
}


#sec01 .nakdo_img{
	width : 50%;
	width: 800px;
}

#sec01 .nakdo_img img{
	width : 100%;
}

#sec01 .nakdo_text{
	padding-left:20px;
	font-size: 20px;
	word-break: keep-all;

}


@media screen and (max-width :1630px){
	#sec01 .nakdo_img {
		height: 0;
		padding-bottom: 40%;
		overflow: hidden;
		position: relative;
	}

	#sec01 .nakdo_img img{
		position: absolute;
		top: 50%; left: 0;
		transform: translateY(-50%);
		width: auto;
		height: 100%;
	}
}

@media screen and (max-width: 1300px){
	#sec01 .wrapper_nakdo{
		flex-wrap: wrap;
	}

	#sec01 .wrapper_nakdo > div{
		width: 100%;
	}

	#sec01 .nakdo_img{
		width: 100%;
		padding-bottom: 50%;
	}

	#sec01 .nakdo_img img{
		height: auto;
		width: 100%;
	}

	#sec01 .nakdo_text{
		text-align: center;
		padding-left: 0;
	}
}

@media screen and (max-width: 1200px){
	#header{
		height: 70px;
	}
	
	#header .btn-contact{
		padding: 10px 25px;
	}

}

@media screen and (max-width: 1100px){
	.wrapper{
		overflow-x: auto;
	}
	
	table{
		width: 150%;
	}

}

@media screen and (max-width: 900px){
	table{
		width: 200%;
	}
	
	#sec01 .nakdo_text{
		font-size: 17px;
	}

}


@media screen and (max-width: 767px){
	*{
		font-size: 14px;
	}
	#header{
		height: 65px;
	}
	#header .logo figure{
		width: 38px;
	}

	#header .logo strong{
		font-size: 24px;
	}
	
	#header .logo span{
		font-size: 18px;
	}

	#header .btn-contact{
		font-size: 14px;
		padding: 8px 20px;
		gap: 3px;
	}

	#header .btn-contact i{
		font-size: 22px;
	}
	

	#sec01 table .btn-buy{
		font-size: 14px;
	}

	#sec01 .nakdo_img{
		padding-bottom: 100%;
	}

	#sec01 .nakdo_img img{
		width: auto;
		height: 100%;
	}

	#sec01 .nakdo_text{
		font-size: 15px;
	}

	#sec01 .nakdo_text h2{
		font-size: 22px;
		margin-bottom: 10px;
	}
}



/*.팝업 스타일 추가 */
.popup-box{
	position: absolute;
	z-index: 909090;
	width: 100%; height: 100vh;
	top: 0; left: 0;
}
/* 
.popup-box .popup-bg{
	width: 100vw; height: 100vh;
	background-color: rgba(0,0,0,0.3);
	position: absolute;
	top: 0; left: 0;
	
} */

.popup-box .popup-content{
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	width: 430px;
	/* width: auto; */
	/* height: 90vh; */
	border-radius: 15px;
	overflow: hidden;
}

.popup-box .popup-content .popupSlide{
	width: 100%;
	
}

.popup-box .popup-content .button-box{
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: -5px;
}

.popup-box .popup-content .button-box button{
	display: block;
	width: 50%;
	padding: 20px 0;
	cursor: pointer;
	background-color: #ebebeb;
	color: #666;
	font-size: 0.9375rem;
	font-weight: var(--fw-500);
	border: none;
	outline: none;
}

.popup-box .popup-content .button-box button.today-x-btn{
	border-right: 1px solid #d3d3d3;
}

.popup-box .popup-content .button-box button.x-btn{}


.swiper-pagination-bullet{
	background: var(--white);
	opacity: 0.5;
}

.swiper-pagination-bullet-active{
	opacity: 1;
}

@media screen and (max-width: 767px){
	.popup-box .popup-content{
		width: 320px;
	}
}


@media screen and (max-width: 500px){
	.popup-box .popup-content{
		width: 320px;
	}

	.popup-box .popup-content .button-box button{
		padding: 15px 0;
	}

}